﻿// -----------------------------------------------------------------------
// <copyright file=PhieuChanDoanHinhAnhChiTietBusiness company="">
// TODO: dangppsoft@gmail.com
// </copyright>
// -----------------------------------------------------------------------
namespace ManagerClinic.Core.Business
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using ManagerClinic.Core.Common;
    using ManagerClinic.Core.DataAccess;

    public class PhieuChanDoanHinhAnhChiTietBusiness
    {
        PhieuChanDoanHinhAnhChiTietDataAccess objDa = null;

        public PhieuChanDoanHinhAnhChiTietBusiness()
        {
            objDa = new PhieuChanDoanHinhAnhChiTietDataAccess();
        }

        public bool InsertPhieuChanDoanHinhAnhChiTiet(PhieuChanDoanHinhAnhChiTietEntity obj)
        {
            return objDa.InsertPhieuChanDoanHinhAnhChiTiet(obj);
        }

        public bool EditPhieuChanDoanHinhAnhChiTiet(PhieuChanDoanHinhAnhChiTietEntity obj)
        {
            return objDa.EditPhieuChanDoanHinhAnhChiTiet(obj);
        }

        public bool DeletePhieuChanDoanHinhAnhChiTiet(string maChanDoanHinhAnh, string machitieu)
        {
            return objDa.DeletePhieuChanDoanHinhAnhChiTiet(maChanDoanHinhAnh, machitieu);
        }

        public bool DeletePhieuChanDoanHinhAnhChiTiet_ByMaPhieuChanDoanHinhAnh(string maChanDoanHinhAnh)
        {
            return objDa.DeletePhieuChanDoanHinhAnhChiTiet_ByMaPhieuChanDoanHinhAnh(maChanDoanHinhAnh);
        }

        public PhieuChanDoanHinhAnhChiTietEntity GetPhieuChanDoanHinhAnhChiTiet(string maChanDoanHinhAnh, string machitieu)
        {
            return objDa.GetPhieuChanDoanHinhAnhChiTiet(maChanDoanHinhAnh, machitieu);
        }

        public IList<PhieuChanDoanHinhAnhChiTietEntity> GetPhieuChanDoanHinhAnhChiTietList()
        {
            return objDa.GetPhieuChanDoanHinhAnhChiTietList();
        }

        public IList<PhieuChanDoanHinhAnhChiTietEntity> GetPhieuChanDoanHinhAnhChiTietByMaChanDoanHA(string maChanDoanHinhAnh)
        {
            return objDa.GetPhieuChanDoanHinhAnhChiTietByMaChanDoanHA(maChanDoanHinhAnh);
        }
    }
}